From: Jasper St. Pierre Date: Wed, 21 Aug 2013 20:47:15 +0000 (-0400) Subject: shell-gtk-embed: Make the MetaWindowActor for a tray icon unreactive X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3656 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ae80e81b75c99497decf6bbd865a562b2d365e0f;p=gnome-shell.git shell-gtk-embed: Make the MetaWindowActor for a tray icon unreactive The MetaWindowActor isn't painted, and we empty its input shape in the X scene graph, but Clutter still picked it. Set it as unreactive so that it can't be picked. https://bugzilla.gnome.org/show_bug.cgi?id=706536 --- diff --git a/src/shell-gtk-embed.c b/src/shell-gtk-embed.c index bfff044ff..dddb46559 100644 --- a/src/shell-gtk-embed.c +++ b/src/shell-gtk-embed.c @@ -106,6 +106,9 @@ shell_gtk_embed_window_created_cb (MetaDisplay *display, 0, 0 /* offset x/y */); cairo_region_destroy (empty_region); + /* Set the actor as unreative so Clutter doesn't pick it, either */ + clutter_actor_set_reactive (window_actor, FALSE); + gdk_window_lower (gdk_window); /* Now that we've found the window we don't need to listen for